package com.linwen.javase.desgin_pattern.action.vistior;

/**
 * @ClassName ConcreteElementA
 * @Description
 * @Author lin
 * @Date 2022/6/30 上午12:50
 * @Version V1.0
 */
//具体元素A类
class ConcreteElementA implements Element {
    public void accept(Visitor visitor) {
        visitor.visit(this);
    }
    public String operationA() {
        return "具体元素A的操作。";
    }
}